Ext.define('js.proAccNode.ProjectProgressAcceptanceNodeBg', {
    extend: 'Ext.panel.Panel',
    id: 'ProjectProgressAcceptanceNodeBg',
    margin:'0 0 30 0',
    config: {
        layout: {
            type: 'vbox',
            align: 'stretch'
        },
    },
    bodyStyle:{
        background:'#fff'
    },
    initComponent: function () {
        let params={
            engineering_id:this.engineering_id,
            engineering_no:this.engineering_no,
            engineering_name:this.engineering_name,
            //地基验槽
            foundation_test_tanks:this.foundation_test_tanks,
            //建筑材料/构配件抽查
            material_check_a:this.material_check_a,
            //地基检验
            foundation_test:this.foundation_test,
            //重要分部验收
            important_part_acceptance:this.important_part_acceptance,
            //首层或转换层验筋
            first_conversion_reinforcement:this.first_conversion_reinforcement,
            //建筑材料/构配件抽查(第二次)
            material_check_b:this.material_check_b,
            //标准层钢筋
            standard_reinforcement:this.standard_reinforcement,
            //顶层钢筋
            top_reinforcement:this.top_reinforcement,
            //工程质量抽测
            quality_sampling:this.quality_sampling,
            //主体砼结构(
            concrete_structure:this.concrete_structure,
            //建筑材料/构配件抽查(第三次)
            material_check_c:this.material_check_c,
            //主体结构
            main_structure:this.main_structure,
            //装饰装修等工程
            other_projects:this.other_projects,
            //竣工初验
            completion_initial_inspection:this.completion_initial_inspection,
            //竣工验收
            completion_acceptance:this.completion_acceptance,
            //结构实体混凝土强度
            structural_solid_concrete_strength:this.structural_solid_concrete_strength,
            //钢筋位置、数量、保护层厚度
            reinforcement_data:this.reinforcement_data,
            //切体砂浆强度
            masonry_mortar_strength:this.masonry_mortar_strength,
            //植筋锚固力
            planting_anchor:this.planting_anchor,
            //地基验槽(所属重要分部验收
            foundation_inspection:this.foundation_inspection,
            //地基基础分部
            foundation_based_division:this.foundation_based_division,
            //主体分部
            main_division:this.main_division,
            //竣工备案
            completion_filing:this.completion_filing,
            percentage:this.percentage
        };
        /*按钮*/
        let check   ={
            xtype: 'panel',
            margin: '30 41 30 41',
            bodyStyle: "background-color:#FFF;",
            items:[{
                xtype : "button",
                id:'checkButtn',
                height:'40',
                cls:'button-Intelligent-sensorbb',
                handler: this.jgba,
                engineering_id:this.engineering_id,
                completion_acceptance:this.completion_acceptance,
                width: '120',
                text:'<img src="../img/checkbox.png" style="width:16px;height:16px;margin-left: -3px;"/><span style="font-size: 16px;letter-spacing: 1px;color: #ffffff;position: relative;top: 2px;left: 6px;">竣工备案</span>'
            }]
        }
        /*进度条*/
        let PercentageProgressBar= {
            xtype: 'panel',
            cls:'currentStateBorderA',
            height: 80,
            margin: '0 41 0 41',
            border: false,
            html:`<div class="progress progress-striped active" style="border-radius: 18px;height:30px;">
                        <div class="progress-bar progress-bar-warning" role="progressbar"
                        aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: ${params.percentage}%;background-image: linear-gradient(0, #007bff 0px, #ddd 50px);"
                        id="prooverWidth">
                        <span id="prooverCOUNT" style="font-size: 18px;">${params.percentage}%</span>
                        </div>
                        </div>
                        `

        };
        /*订单条*/
        //地基验槽
        switch (this.foundation_test_tanks) {
            //未进行
            case 1 :
                djycmin= '';
                djycminA= '';
                CircleDjyc='circle_file';
                djycCircle = '';
                djycLine = 'line_file';
                djyc_tame = 'tame_file';
                djyc_neirong=' <p style="color: #ff5400;"> 地基验槽:  未完成</p>';
                break;
            //进行中
            case 2 :
                djycmin= 'min-file';
                djycminA= 'min-fileA';
                CircleDjyc='circle_file';
                djycCircle = 'round_file';
                djycLine = 'line_file';
                djyc_tame = 'tame_file';
                djyc_neirong='   <p style="color: #ff5400;"> 地基验槽:  进行中</p>';

                break;
            //完成
            case 3 :
                djycmin= 'min-circle';
                djycminA= 'min-circleA';
                CircleDjyc='circle_active';
                djycCircle = 'round_active';
                djycLine = 'line_active';
                djyc_tame = 'tame_active';
                djyc_neirong='  <p style="color: #00bd71;"> 地基验槽:  已完成</p>';
                break;
        };
        //建筑材料/构配件抽查
        switch (this.material_check_a) {
            //未进行
            case 1 :
                jzclgpjccmin= '';
                jzclgpjccminA= '';
                CirclejzclgpjccA='circle_file';
                jzclgpjccCircleA = '';
                jzclgpjccLineA = 'line_file';
                jzclgpjcc_tameA = 'tame_file';
                jzclA_neirong=' <p style="color: #ff5400;"> 建筑材料/构配件抽查:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                jzclgpjccmin= 'min-file';
                jzclgpjccminA= 'min-fileA';
                jzclgpjccCircleA = 'round_file';
                CirclejzclgpjccA='circle_file';
                jzclgpjccLineA = 'line_file';
                jzclgpjcc_tameA = 'tame_file';
                jzclA_neirong='   <p style="color: #ff5400;"> 建筑材料/构配件抽查:  进行中</p>';
                break;
            //完成
            case 3 :
                jzclgpjccmin= 'min-circle';
                jzclgpjccminA= 'min-circleA';
                jzclgpjccCircleA = 'round_active'
                CirclejzclgpjccA='circle_active';;
                jzclgpjccLineA = 'line_active';
                jzclgpjcc_tameA = 'tame_active';
                jzclA_neirong='   <p style="color: #00bd71;"> 建筑材料/构配件抽查:  已完成</p>';
                break;
        };
        //地基检验
        switch (this.foundation_test) {
            //未进行
            case 1 :
                djjymin= '';
                djjyminA= '';
                djjyCircle = '';
                Circledjjy='circle_file';
                djjyLine = 'line_file';
                djjy_tame = 'tame_file';
                djjy_neirong='   <p style="color: #ff5400;"> 地基检验:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                djjymin= 'min-file';
                djjyminA= 'min-fileA';
                Circledjjy='circle_file';
                djjyCircle = 'round_file';
                djjyLine = 'line_file';
                djjy_tame = 'tame_file';
                djjy_neirong='   <p style="color: #ff5400;"> 地基检验:  进行中</p>';
                break;
            //完成
            case 3 :
                djjymin= 'min-circle';
                djjyminA= 'min-circleA';
                Circledjjy='circle_active';
                djjyCircle = 'round_active';
                djjyLine = 'line_active';
                djjy_tame = 'tame_active';
                djjy_neirong='   <p style="color: #00bd71;"> 地基检验:已完成</p>';
                break;
        };

        //重要分部验收
        let zyfbys_neirongA='';
        if(this.foundation_inspection == 1){
            zyfbys_neirongA+='<p style="color: #ff5400;"> 地基验槽:未完成</p>'
        }
        else{
            zyfbys_neirongA+='<p style="color: #00bd71;"> 地基验槽:已完成</p>'
        }

        if(this.foundation_based_division == 1){
            zyfbys_neirongA+='<p style="color: #ff5400;"> 地基基础分部:未完成</p>'
        }
        else{
            zyfbys_neirongA+='<p style="color: #00bd71;"> 地基基础分部:已完成</p>'
        }
        if(this.main_division == 1){
            zyfbys_neirongA+='<p style="color: #ff5400;"> 主体分部:未完成</p>'
        }
        else{
            zyfbys_neirongA+='<p style="color: #00bd71;"> 主体分部:已完成</p>'
        }



        switch (this.important_part_acceptance) {
            //未进行

            case 1 :
                zybfysmin='';
                zybfysminA='';
                Circlezybfys='circle_file';
                zybfysCircle = '';
                zybfysLine = 'line_file';
                zybfys_tame = 'tame_file';
                zyfbys_neirong=zyfbys_neirongA;
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                zybfysmin='min-file';
                zybfysminA='min-circleA';
                Circlezybfys='circle_file';
                zybfysCircle = 'round_file';
                zybfysLine = 'line_file';
                zybfys_tame = 'tame_file';
                zyfbys_neirong=zyfbys_neirongA;
                break;
            //完成
            case 3 :
                zybfysmin='min-circle';
                zybfysminA='min-circleA';
                Circlezybfys='circle_active';
                zybfysCircle = 'round_active';
                zybfysLine = 'line_active';
                zybfys_tame = 'tame_active';
                zyfbys_neirong=zyfbys_neirongA;
                break;
        };
        //首层或转换层验筋
        switch (this.first_conversion_reinforcement) {
            //未进行
            case 1 :
                schzhcyjmin='';
                schzhcyjminA='';
                Circleschzhcyj='circle_file';
                schzhcyjCircle = '';
                /*  firstname='circle_name'*/
                schzhcyj_tame = 'tame_file';
                schzhcyj_neirong='   <p style="color: #ff5400;"> 首层或转换层验筋:  未完成</p>';
                break;
            //进行中
            case 2 :
                schzhcyjmin='min-file';
                schzhcyjminA='min-fileA';
                Circleschzhcyj='circle_file';
                schzhcyjCircle = 'round_file';
                schzhcyj_tame = 'tame_file';
                schzhcyj_neirong='   <p style="color: #ff5400;"> 首层或转换层验筋:  进行中</p>';
                break;
            //完成
            case 3 :
                schzhcyjmin='min-circle';
                schzhcyjminA='min-circleA';
                Circleschzhcyj='circle_active';
                schzhcyjCircle = 'round_active';
                schzhcyj_tame = 'tame_active';
                schzhcyj_neirong='   <p style="color: #00bd71;"> 首层或转换层验筋:  已完成</p>';
                break;
        };
        //建筑材料/构配件抽查(第二次)
        switch (this.material_check_b) {
            //未进行
            case 1 :
                jzclgpjccAmin = '';
                jzclgpjccAminA = '';
                CircleAjzclgpjcc='circle_file';
                jzclgpjccACircle = '';
                jzclgpjccA_tame = 'tame_file';
                jzclB_neirong='   <p style="color: #ff5400;"> 建筑材料/构配件抽查:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                jzclgpjccAmin = 'min-file';
                jzclgpjccAminA = 'min-fileA';
                CircleAjzclgpjcc='circle_file';
                jzclgpjccACircle = 'round_file';
                jzclgpjccA_tame = 'tame_file';
                jzclB_neirong='   <p style="color: #ff5400;"> 建筑材料/构配件抽查:  进行中</p>';
                break;
            //完成
            case 3 :
                jzclgpjccAmin = 'min-circle';
                jzclgpjccAminA = 'min-circleA';
                CircleAjzclgpjcc='circle_active';
                jzclgpjccACircle = 'round_active';
                jzclgpjccA_tame = 'tame_active';
                jzclB_neirong='   <p style="color: #00bd71;"> 建筑材料/构配件抽查:  已完成</p>';
                break;
        };
        //标准层钢筋
        switch (this.standard_reinforcement) {
            //未进行
            case 1 :
                bzcgjmin='';
                bzcgjminA='';
                Circlebzcgj='circle_file';
                bzcgjCircle = '';
                bzcgjLine='line_file';
                bzcgj_tame = 'tame_file';
                bzcgj_neirong='   <p style="color: #ff5400;"> 标准层钢筋: 未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                bzcgjmin='min-file';
                bzcgjminA='min-fileA';
                Circlebzcgj='circle_file';
                bzcgjCircle = 'round_file';
                bzcgjLine = 'line_file';
                bzcgj_tame = 'tame_file'
                bzcgj_neirong='   <p style="color: #ff5400;"> 标准层钢筋:  进行中</p>';
                break;
            //完成
            case 3 :
                bzcgjmin='min-circle';
                bzcgjminA='min-circleA';
                Circlebzcgj='circle_active';
                bzcgjCircle = 'round_active';
                bzcgjLine = 'line_active';
                bzcgj_tame = 'tame_active';
                bzcgj_neirong='   <p style="color: #00bd71;"> 标准层钢筋:  已完成</p>';
                break;
        };
        //顶层钢筋
        switch (this.top_reinforcement) {
            //未进行
            case 1 :
                dcgjmin='';
                dcgjminA='';
                Circledcgj='circle_file';
                dcgjCircle = '';
                dcgjLine='line_file';
                dcgj_tame = 'tame_file';
                dcgj_neirong='   <p style="color: #ff5400;"> 顶层钢筋:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                dcgjmin='min-file';
                dcgjminA='min-fileA';
                Circledcgj='circle_file';
                dcgjCircle = 'round_file';
                dcgjLine = 'line_file';
                dcgj_tame = 'tame_file';
                dcgj_neirong='   <p style="color: #ff5400;"> 顶层钢筋:  进行中</p>';
                break;
            //完成
            case 3 :
                dcgjmin='min-circle';
                dcgjminA='min-circleA';
                Circledcgj='circle_active';
                dcgjCircle = 'round_active';
                dcgjLine = 'line_active';
                dcgj_tame = 'tame_active';
                dcgj_neirong='   <p style="color: #00bd71;"> 顶层钢筋:  已完成</p>';
                break;
        };
        //工程质量抽测
        let gczlcc_neirong='';
        if(this.structural_solid_concrete_strength == 1){
            gczlcc_neirong+='<p style="color: #ff5400;"> 结构实体混凝土强度:未完成</p>'
        }
        else{
            gczlcc_neirong+='<p style="color: #00bd71;"> 结构实体混凝土强度:已完成</p>'
        }

        if(this.reinforcement_data == 1){
            gczlcc_neirong+='<p style="color: #ff5400;"> 钢筋位置、数量、保护层厚度:未完成</p>'
        }
        else{
            gczlcc_neirong+='<p style="color: #00bd71;"> 钢筋位置、数量、保护层厚度:已完成</p>'
        }
        if(this.masonry_mortar_strength == 1){
            gczlcc_neirong+='<p style="color: #ff5400;"> 切体砂浆强度:未完成</p>'
        }
        else{
            gczlcc_neirong+='<p style="color: #00bd71;"> 切体砂浆强度:已完成</p>'
        }

        if(this.planting_anchor == 1){
            gczlcc_neirong+='<p style="color: #ff5400;"> 植筋锚固力:未完成</p>'
        }
        else{
            gczlcc_neirong+='<p style="color: #00bd71;"> 植筋锚固力:已完成</p>'
        }

        switch (this.quality_sampling) {
            //未进行
            case 1 :
                gczlccmin='';
                gczlccminA='';
                Circlegczlcc='circle_file';
                gczlccCircle = '';
                gczlccLine='line_file';
                gczlcc_tame = 'tame_file';
                gczlcc_neirong=gczlcc_neirong;
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                gczlccmin='min-file';
                gczlccminA='min-fileA';
                Circlegczlcc='circle_file';
                gczlccCircle = 'round_file';
                gczlccLine = 'line_file';
                gczlcc_tame = 'tame_file'
                gczlcc_neirong=gczlcc_neirong;
                break;
            //完成
            case 3 :
                gczlccmin='min-circle';
                gczlccminA='min-circleA';
                Circlegczlcc='circle_active';
                gczlccCircle = 'round_active';
                gczlccLine = 'line_active';
                gczlcc_tame = 'tame_active';
                gczlcc_neirong=gczlcc_neirong;
                break;
        };
        //主体砼结构
        switch (this.concrete_structure) {
            //未进行
            case 1 :
                ztgjgmin='';
                ztgjgminA='';
                Circleztgjg='circle_file';
                ztgjgCircle = '';
                ztgjgLine='line_file';
                ztgjg_tame = 'tame_file';
                ztgjg_neirong='   <p style="color: #ff5400;"> 主体砼结构:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                ztgjgmin='min-file';
                ztgjgminA='min-fileA';
                Circleztgjg='circle_file';
                ztgjgCircle = 'round_file';
                ztgjgLine = 'line_file';
                ztgjg_tame = 'tame_file';
                ztgjg_neirong='   <p style="color: #ff5400;"> 主体砼结构:  进行中</p>';
                break;
            //完成
            case 3 :
                ztgjgmin='min-circle';
                ztgjgminA='min-circleA';
                Circleztgjg='circle_active';
                ztgjgCircle = 'round_active';
                ztgjgLine = 'line_active';
                ztgjg_tame = 'tame_active';
                ztgjg_neirong='   <p style="color: #00bd71;"> 主体砼结构: 已完成</p>';
                break;
        };
        //建筑材料/构配件抽查(第三次)
        switch (this.material_check_c) {
            //未进行
            case 1 :
                jzclgpjccminC='';
                jzclgpjccminAC='';
                Circlejzclgpjcc='circle_file';
                jzclgpjccCircle = '';
                jzclgpjccLine='line_file';
                jzclgpjcc_tame = 'tame_file';
                jzclC_neirong='   <p style="color: #ff5400;"> 建筑材料/构配件抽查:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                jzclgpjccminC='min-file';
                jzclgpjccminAC='min-fileA';
                Circlejzclgpjcc='circle_file';
                jzclgpjccCircle = 'round_file';
                jzclgpjccLine = 'line_file';
                jzclgpjcc_tame = 'tame_file';
                jzclC_neirong='   <p style="color: #ff5400;"> 建筑材料/构配件抽查:  进行中</p>';
                break;
            //完成
            case 3 :
                jzclgpjccminC='min-circle';
                jzclgpjccminAC='min-circleA';
                Circlejzclgpjcc='circle_active';
                jzclgpjccCircle = 'round_active';
                jzclgpjccLine = 'line_active';
                jzclgpjcc_tame = 'tame_active';
                jzclC_neirong='   <p style="color: #00bd71;"> 建筑材料/构配件抽查:  已完成</p>';
                break;
        };
        //主体结构
        switch (this.main_structure) {
            //未进行
            case 1 :
                ztjgmin='';
                ztjgminA='';
                Circleztjg='circle_file';
                ztjgCircle = '';
                ztjgLine='line_file';
                ztjg_tame = 'tame_file';
                ztjg_neirong='   <p style="color: #ff5400;">主体结构:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                ztjgmin='min-file';
                ztjgminA='min-fileA';
                Circleztjg='circle_file';
                ztjgCircle = 'round_file';
                ztjgLine = 'line_file';
                ztjg_tame = 'tame_file';
                ztjg_neirong='   <p style="color: #ff5400;">主体结构:  进行中</p>';
                break;
            //完成
            case 3 :
                ztjgmin='min-circle';
                ztjgminA='min-circleA';
                Circleztjg='circle_active';
                ztjgCircle = 'round_active';
                ztjgLine = 'line_active';
                ztjg_tame = 'tame_active';
                ztjg_neirong='   <p style="color: #ff5400;">主体结构:  已完成</p>';
                break;
        };
        //装饰装修等工程
        switch (this.other_projects) {
            //未进行
            case 1 :
                zszxdgcmin='';
                zszxdgcminA='';
                Circlezszxdgc='circle_file';
                zszxdgcCircle = '';
                zszxdgcLine='line_file';
                zszxdgc_tame = 'tame_file';
                zszxdgc_neirong='   <p style="color: #ff5400;">装饰装修等工程:  未完成</p>';
                /*  firstname='circle_name'*/
                break;
            //进行中
            case 2 :
                zszxdgcmin='min-file';
                zszxdgcminA='min-fileA';
                Circlezszxdgc='circle_file';
                zszxdgcCircle = 'round_file';
                zszxdgcLine = 'line_file';
                zszxdgc_tame = 'tame_file';
                zszxdgc_neirong='   <p style="color: #ff5400;">装饰装修等工程:  进行中</p>';
                /*  firstname='circle_name'*/
                break;
            //完成
            case 3 :
                zszxdgcmin='min-circle';
                zszxdgcminA='min-circleA';
                Circlezszxdgc='circle_active';
                zszxdgcCircle = 'round_active';
                zszxdgcLine = 'line_active';
                zszxdgc_tame = 'tame_active';
                zszxdgc_neirong='   <p style="color: #00bd71;">装饰装修等工程:  已完成</p>';
                /*  firstname='circle_name'*/
                break;
        };
        //竣工初验
        switch (this.completion_initial_inspection) {
            //未进行
            case 1 :
                jgcymin='';
                jgcyminA='';
                Circlejgcy='circle_file';
                jgcyCircle = '';
                jgcycLine='line_file';
                /*  firstname='circle_name'*/
                jgcyc_tame = 'tame_file';
                jgcy_neirong='   <p style="color: #ff5400;">竣工初验:  未完成</p>';
                break;
            //进行中
            case 2 :
                jgcymin='min-file';
                jgcyminA='min-fileA';
                Circlejgcy='circle_file';
                jgcyCircle = 'round_file';
                jgcycLine = 'line_file';
                jgcyc_tame = 'tame_file';
                jgcy_neirong='   <p style="color: #ff5400;">竣工初验:  进行中</p>';
                break;
            //完成
            case 3 :
                jgcymin='min-circle';
                jgcyminA='min-circleA';
                Circlejgcy='circle_active';
                jgcyCircle = 'round_active';
                jgcyc_tame = 'tame_active';
                jgcycLine = 'line_active';
                jgcy_neirong='   <p style="color: #00bd71;">竣工初验:  已完成</p>';
                break;
        };
        //竣工验收
        switch (this.completion_acceptance) {
            //未进行
            case 1 :
                jgysmin='';
                jgysminA='';
                Circlejgys='circle_file';
                jgysCircle = '';
                jgys_tame = 'tame_file';
                /*  firstname='circle_name'*/
                jgys_neirong='   <p style="color: #ff5400;">竣工验收:  未完成</p>';
                break;

            //完成
            case 2 :
                jgysmin='min-circle';
                jgysminA='min-circleA';
                Circlejgys='circle_active';
                jgysCircle = 'round_active';
                jgys_tame = 'tame_active';
                jgys_neirong='<p style="color: #00bd71;">竣工验收:  已完成</p>';
                break;
        };
        let statusBar={
            xtype: 'panel',
            margin: '0 80 30 80',
            width:'100%',
            html:`<div class="stepsA">
                <div class="steps">
                    <div class="first">
                     <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',1,'${params.engineering_no}','${params.engineering_name}'
                            ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}'
                     
                     
                     )">
                        <span class="divxfA" style="background-color: #eeeeee;color:#333333;width: 140px;height:50px;padding:15px 10px 10px 10px;">
                         ${djyc_neirong}
                         </span>
                        <div class="big-circle ${CircleDjyc}"> 
                            <div class="${djycmin} ${djycCircle}"> 
                            </div> 
                            <div class="${djycminA} ${djycCircle}"> 
                            </div> 
                        </div> 
                      </a> 
                        <div class="tame ${djyc_tame}"> 
                            地基验槽 
                        </div> 
                        <div class="big-line ${djycLine}"> 
                        </div> 
                    </div> 
                    <div class="second"> 
                        <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',2,'${params.engineering_no}','${params.engineering_name}'
                            ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}'
                            )">
                          <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 220px;height:50px;padding:15px 10px 10px 10px;">
                         ${jzclA_neirong}
                         </div>
                        <div class="big-circle ${CirclejzclgpjccA}"> 
                            <div class="${jzclgpjccmin} ${jzclgpjccCircleA}"> 
                            </div> 
                            <div class="${jzclgpjccminA} ${jzclgpjccCircleA}"> 
                            </div> 
                        </div> 
                       </a>
                        <div class="tame ${jzclgpjcc_tameA}"> 
                            建筑材料/构配件抽查 
                        </div> 
                        <div class="big-line ${jzclgpjccLineA}"> 
                        </div> 
                    </div> 
                    <div class="third"> 
                     <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',3,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                         <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 140px;height:50px;padding:15px 10px 10px 10px;">
                         ${djjy_neirong}
                         </div>
                        <div class="big-circle ${Circledjjy}"> 
                            <div class="${djjymin} ${djjyCircle}"> 
                            </div> 
                            <div class="${djjyminA} ${djjyCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tame ${djjy_tame}"> 
                            地基检验 
                        </div>
                        <div class="big-line ${djjyLine}"> 
                        </div> 
                    </div>
                    <div class="fourth"> 
                     <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',4,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                        <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 160px;height:120px;padding:15px 10px 10px 10px;">   
                   
                         ${zyfbys_neirong}
                         </div>
                        <div class="big-circle ${Circlezybfys}"> 
                            <div class="${zybfysmin} ${zybfysCircle}"> 
                            </div> 
                            <div class="${zybfysminA} ${zybfysCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tame ${zybfys_tame}"> 
                            重要分部验收 
                        </div> 
                        <div class="big-line ${zybfysLine}"> 
                        </div> 
                    </div> 
                    <div class="fifth"> 
                       <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',7,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                         <div class="divxfs" style="background-color: #eeeeee;color:#333333;width: 205px;height:50;padding:15px 10px 10px 10px;">   
                         ${schzhcyj_neirong}
                         </div>
                        <div class="big-circle ${Circleschzhcyj}"> 
                            <div class="${schzhcyjmin} ${schzhcyjCircle}"> 
                            </div> 
                            <div class="${schzhcyjminA} ${schzhcyjCircle}"> 
                            </div> 
                        </div> 
                        <div class="tame ${schzhcyj_tame}"> 
                            首层或转换层验筋 
                        </div> 
                    </div> 
                </div> 
                <div class="imgone"> 
                    <img src="../img/jiantou.png"/> 
                </div> 
                <div class="stepsB"> 
                    <div class="first"> 
                       <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',19,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                         <div class="divxfA" style="background-color: #eeeeee;color:#333333;width: 150px;height:50px;padding:15px 10px 10px 10px;">   
                         ${ztgjg_neirong}
                         </div>
                        <div class="big-circle ${Circleztgjg}"> 
                            <div class="${ztgjgmin} ${ztgjgCircle}"> 
                            </div> 
                            <div class="${ztgjgminA} ${ztgjgCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameB ${ztgjg_tame}"> 
                            主体砼结构 
                        </div> 
                        <div class="big-line ${ztgjgLine}"> 
                        </div> 
                    </div> 
                    <div class="second"> 
                       <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',11,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                            <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 260px;height:160px;padding:15px 10px 10px 10px;">  
                         ${gczlcc_neirong}
                         </div>
                        <div class="big-circle ${Circlegczlcc}"> 
                            <div class="${gczlccmin} ${gczlccCircle}"> 
                            </div> 
                            <div class="${gczlccminA} ${gczlccCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameB ${gczlcc_tame}"> 
                            工程质量抽测 
                        </div> 
                        <div class="big-line ${gczlccLine}"> 
                        </div> 
                    </div> 
                    <div class="third"> 
                       <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',10,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                      <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 140px;height:50px;padding:15px 10px 10px 10px;">  
                         ${dcgj_neirong}
                         </div>
                        <div class="big-circle ${Circledcgj}"> 
                            <div class="${dcgjmin} ${dcgjCircle}"> 
                            </div> 
                            <div class="${dcgjminA} ${dcgjCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameB ${dcgj_tame}"> 
                            顶层钢筋 
                        </div> 
                        <div class="big-line ${dcgjLine}"> 
                        </div> 
                    </div> 
                    <div class="fourth"> 
                        <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',9,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                          <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 150px;height:50px;padding:15px 10px 10px 10px;">  
                         ${bzcgj_neirong}
                         </div>
                        <div class="big-circle ${Circlebzcgj}"> 
                            <div class="${bzcgjmin} ${bzcgjCircle}"> 
                            </div> 
                            <div class="${bzcgjminA} ${bzcgjCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameB ${bzcgj_tame}"> 
                            标准层钢筋 
                        </div> 
                       <div class="big-line ${bzcgjLine}"> 
                        </div> 
                    </div> 
                    <div class="fifth"> 
                        <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',8,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                         <div class="divxfj" style="background-color: #eeeeee;color:#333333;width: 220px;height:50px;padding:15px 10px 10px 10px;">
                         ${jzclB_neirong}
                         </div>
                        <div class="big-circle ${CircleAjzclgpjcc}"> 
                            <div class="${jzclgpjccAmin} ${jzclgpjccACircle}"> 
                             </div> 
                            <div class="${jzclgpjccAminA} ${jzclgpjccACircle}">
                            </div>
                        </div> 
                        </a>
                        <div class="tameB ${jzclgpjccA_tame}">
                            建筑材料/构配件抽查 
                        </div> 
                    </div> 
                </div> 
                <div class="imgtwo"> 
                    <img src="../img/jiantou.png"/> 
                </div> 
                <div class="stepsC"> 
                    <div class="first"> 
                      <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',20,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                        <div class="divxfA" style="background-color: #eeeeee;color:#333333;width: 220px;height:50px;padding:15px 10px 10px 10px;">
                         ${jzclC_neirong}
                         </div>
                        <div class="big-circle ${Circlejzclgpjcc}"> 
                             <div class="${jzclgpjccminC} ${jzclgpjccCircle}"> 
                            </div> 
                            <div class="${jzclgpjccminAC} ${jzclgpjccCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameA ${jzclgpjcc_tame}"> 
                            建筑材料/构配件抽查 
                        </div> 
                        <div class="big-line ${jzclgpjccLine}"> 
                        </div> 
                    </div> 
                    <div class="second"> 
                       <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',21,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                          <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 140px;height:50px;padding:15px 10px 10px 10px;">  
                         ${ztjg_neirong}
                         </div>
                        <div class="big-circle ${Circleztjg}"> 
                            <div class="${ztjgmin} ${ztjgCircle}"> 
                            </div> 
                            <div class="${ztjgminA} ${ztjgCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameA ${ztjg_tame}"> 
                            主体结构 
                        </div> 
                        <div class="big-line ${ztjgLine}"> 
                        </div> 
                    </div> 
                    <div class="third"> 
                       <a class=" mutuallyAA" onclick="lc('${params.engineering_id}',22,'${params.engineering_no}','${params.engineering_name}' ,'${params.foundation_test_tanks}'
                            ,'${params.material_check_a}'
                            ,'${params.foundation_test}'
                            ,'${params.important_part_acceptance}'
                            ,'${params.first_conversion_reinforcement}'
                            ,'${params.material_check_b}'
                            ,'${params.standard_reinforcement}'
                            ,'${params.top_reinforcement}'
                            ,'${params.quality_sampling}'
                            ,'${params.concrete_structure}'
                            ,'${params.material_check_c}'
                            ,'${params.main_structure}'
                            ,'${params.other_projects}'
                            ,'${params.completion_initial_inspection}'
                            ,'${params.completion_acceptance}'
                            ,'${params.structural_solid_concrete_strength}'
                            ,'${params.reinforcement_data}'
                            ,'${params.masonry_mortar_strength}'
                            ,'${params.planting_anchor}'
                            ,'${params.foundation_inspection}'
                            ,'${params.foundation_based_division}'
                            ,'${params.main_division}')">
                          <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 180px;height:50;padding:15px 10px 10px 10px;"> 
                         ${zszxdgc_neirong}
                         </div>
                        <div class="big-circle ${Circlezszxdgc}"> 
                            <div class="${zszxdgcmin} ${zszxdgcCircle}"> 
                            </div> 
                            <div class="${zszxdgcminA} ${zszxdgcCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameA ${zszxdgc_tame}"> 
                            装饰装修等工程 
                        </div> 
                        <div class="big-line ${zszxdgcLine}"> 
                        </div> 
                    </div> 
                    <div class="fourth"> 
                       <a class=" mutuallyAA" onclick="jgcy('${params.engineering_id}',23,'${params.engineering_no}','${params.engineering_name}' 
                         
                            ,'${params.completion_initial_inspection}'
                           )">
                        <div class="divxf" style="background-color: #eeeeee;color:#333333;width: 140px;height:50px;padding:15px 10px 10px 10px;">  
                         ${jgcy_neirong}
                         </div>  
                        <div class="big-circle ${Circlejgcy}"> 
                            <div class="${jgcymin} ${jgcyCircle}"> 
                            </div> 
                            <div class="${jgcyminA} ${jgcyCircle}"> 
                            </div>
                        </div> 
                        </a>
                        <div class="tameA ${jgcyc_tame}"> 
                            竣工初验 
                        </div> 
                        <div class="big-line ${jgcycLine}"> 
                        </div> 
                    </div>  
                    <div class="fifth">
                      <a class=" mutuallyAA" onclick="jgys('${params.engineering_id}',24,'${params.engineering_no}','${params.engineering_name}' 
                            ,'${params.completion_acceptance}'
                       )">
                       <div class="divxfys" style="background-color: #eeeeee;color:#333333;width: 140px;height:50px;padding:15px 10px 10px 10px;">  
                         ${jgys_neirong}
                         </div>  
                        <div class="big-circle ${Circlejgys}"> 
                            <div class="${jgysmin} ${jgysCircle}"> 
                            </div> 
                            <div class="${jgysminA} ${jgysCircle}"> 
                            </div> 
                        </div> 
                        </a>
                        <div class="tameA ${jgys_tame}"> 
                            竣工验收 
                        </div> 
                    </div> 
                </div> 
            </div>`
        }
        this.items = [
            check,
            PercentageProgressBar,
            statusBar
        ];
        this.callParent(arguments);
        this.on('afterrender',this.bys);

    },
    bys:function(){
        let completion_filing=this.completion_filing;
        if(completion_filing == 2){
            Ext.getDom('checkButtn').style.background='#2672d9';
        }
    },
    jgba:function(btn){
        let engineering_id=btn.engineering_id;
        let completion_acceptance=btn.completion_acceptance;
        util.post('progressRoutes', {
            action_type: 'progressTestQuery',
            engineering_id:engineering_id,
            progress_type:25
        }).then(function (response) {

            //查询的数据
            let obj = Ext.decode(response.responseText);
            if (obj.success){
                let remarks = obj.data.remarks;
                let completion_date = obj.data.filing_date;
                let user_id = obj.data.user_id;
                let user_name = obj.data.user_name;
                //通过时间
                let review_pass_date=obj.data.review_pass_date;
                //报送时间
                   let inspection_date=obj.data.inspection_date;

                let btnSubmit = Ext.create('Ext.button.Button', {
                    cls: 'btnSubmit',
                    border: false,
                    text: `完成`,
                    margin: '0 0 20 30',
                    width: 140,
                    height: 35,
                    scale: 'medium',
                    handler: function (btn) {
                        util.post('/progressRoutes', {
                            action_type: 'progressCompletionFinish',
                            progress_type: 25,
                            engineering_id: engineering_id,
                            remarks: Ext.getCmp('remarks').getValue(),
                            //报送时间
                              inspection_date: Ext.getCmp('inspection_date').getValue(),
                            filing_date: Ext.getCmp('completion_date').getValue(),
                            user_id: Ext.getCmp('user_id_bbrA').getValue()
                        }).then(function (response) {
                            let obj = Ext.decode(response.responseText);
                            if (obj.success) {
                                Ext.toast('保存成功');
                                btn.up('window').close();
                                //竣工备案变颜色
                                Ext.getDom('checkButtn').style.background = '#253746';
                            } else {
                                Ext.toast(`<div style="font-size:28px;">失败,${obj.message}</div>`);
                            }
                        });
                    },
                    scope: this
                });
                let formPanel = Ext.create('js.foundation.foundationJgysAPage', {
                    remarks: remarks,
                    completion_date: completion_date,
                    user_id: user_id,
                    user_name: user_name,
                      //报送时间
                      inspection_date:inspection_date
                });
                let win = util.window(formPanel, {
                    title: '竣工备案',
                    width: '600',
                    height: '50%',
                    bodyStyle: {backgroundColor: '#007bff '},
                    buttons: ['->', btnSubmit, '->']
                });
                win.show();
            }else{
                Ext.toast(obj.message);
            }
        });

    }
});